#ifndef _BASESTATION_LISTVIEW_Z
#define _BASESTATION_LISTVIEW_Z

#include "main.h"

#define BSLV_HEADER_HEIGHT 20
#define BSLV_ITEM_HEIGHT 20
#define BSLV_ITEM_NO 20
#define BSLV_ITEM_COORDINATION 130
#define BSLV_ITEM_TDOA 45
#define BSLV_ITEM_DIS 45
#define BSLV_ITEM_DISREAL 45
#define BSLV_SCROLLBARX (BSLV_ITEM_NO+BSLV_ITEM_COORDINATION+BSLV_ITEM_TDOA+BSLV_ITEM_DIS+BSLV_ITEM_DISREAL)
extern HWND hBSLVZWindow;
void InitBSLVZ(HWND);
void RegisterBSLVZClass(LPCWSTR className);
LRESULT CALLBACK BSLVZProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
void AddBaseStation(float, float, float);
void DeleteBaseStation(int index);
void CalcScrollRect();
void EnableScrollBarBtn();
void GetScrollBarSelectedIndex(POINT pt);
void FreshMainWindow();
#endif
